package handling;

public enum SendPacketOpcode {
//핑

    PING(0x09),
    /**
     * CLogin 시작.
     */
    CHECK_PASSWORD(0),
    ACCOUNT_INFO(1),
    WORLD_INFORMATION(2),
    SELECT_WORLD(3),
    SERVER_IP(4),
    CHAR_NAME_RESPONSE(5),
    CREATE_NEW_CHARACTER(6),
    DELETE_CHARACTER(7),
    CHANGE_CHANNEL(8),
    CS_USE(0x0B),
    ENABLE_SPW(15),
    SECONDPW_ERROR(0x0D),//불확실    
    ENABLE_RECOMMENDED(0x10),
    SEND_RECOMMENDED(0x11),
    CHECK_SPW(0x12),
    INVENTORY_OPERATION(19),
    INVENTORY_GROW(20),
    UPDATE_STATS(21),
    GIVE_BUFF(22),
    CANCEL_BUFF(23),
    TEMP_STATS(24),
    TEMP_STATS_RESET(25),
    UPDATE_SKILLS(26),
    FAME_RESPONSE(28),
    SHOW_STATUS_INFO(29),
    SHOW_NOTES(30),
    TROCK_LOCATIONS(31),
    UPDATE_MOUNT(37),
    SHOW_QUEST_COMPLETION(38),
    SEND_TITLE_BOX(39),
    SKILL_LEARN_ITEM(40),
    SKILL_RESET_ITEM(41),
    FINISH_SORT(42),
    FINISH_GATHER(43),
    CHAR_INFO(46),
    PARTY_OPERATION(47),
    EXPEDITION_OPERATION(49),
    BUDDYLIST(50),
    GUILD_OPERATION(52),
    ALLIANCE_OPERATION(53),
    SPAWN_PORTAL(54),
    MECH_PORTAL(55),
    SERVERMESSAGE(56),
    PIGMI_REWARD(57),
    OWL_OF_MINERVA(58),
    ENGAGE_REQUEST(59),
    ENGAGE_RESULT(59),
    YELLOW_CHAT(65),
    SHOP_DISCOUNT(66),
    CATCH_MOB(67),
    PLAYER_NPC(69),
    GET_CARD(71),
    BOOK_STATS(72),
    SESSION_VALUE(78),
    PARTY_VALUE(79),
    MAP_VALUE(80),
    FAIRY_PEND_MSG(81),
    SEND_PEDIGREE(82),
    OPEN_FAMILY(83),
    FAMILY_MESSAGE(84),
    FAMILY_INVITE(85),
    FAMILY_JUNIOR(86),
    SENIOR_MESSAGE(87),
    FAMILY(88),
    REP_INCREASE(89),
    FAMILY_LOGGEDIN(90),
    FAMILY_BUFF(91),
    FAMILY_USE_REQUEST(92),
    LEVEL_UPDATE(93),
    MARRIAGE_UPDATE(94),
    JOB_UPDATE(95),
    PENDANT_SLOT(96),
    FOLLOW_REQUEST(97),
    TOP_MSG(98),
    MID_MSG(99),
    CLEAR_MID_MSG(100),
    UPDATE_JAGUAR(101),
    ULTIMATE_EXPLORER(102),
    PAM_SONG(103),
    PROFESSION_INFO(104),
    SKILL_MACRO(105),
    WARP_TO_MAP(106),
    CS_OPEN(107),
    LOGIN_WELCOME(109),
    SERVER_BLOCKED(111),
    PVP_BLOCKED(112),
    SHOW_EQUIP_EFFECT(114),
    MULTICHAT(115),
    WHISPER(116),
    BOSS_ENV(118),
    MAP_EFFECT(119),
    CASH_SONG(120),
    GM_EFFECT(121),
    OX_QUIZ(122),
    GMEVENT_INSTRUCTIONS(123),
    CLOCK(124),
    BOAT_EFF(125),
    BOAT_EFFECT(126),
    STOP_CLOCK(130),
    PYRAMID_UPDATE(131),
    PYRAMID_RESULT(132),
    QUICK_SLOT(135),
    MOVE_PLATFORM(136),
    SPAWN_PLAYER(140),
    REMOVE_PLAYER_FROM_MAP(141),
    CHATTEXT(142),
    CHALKBOARD(143),
    UPDATE_CHAR_BOX(144),
    SHOW_SCROLL_EFFECT(146),
    SHOW_POTENTIAL_EFFECT(150),
    SHOW_POTENTIAL_RESET(149),
    PVP_ATTACK(151),
    PVP_MIST(152),
    PVP_COOL(153),
    TESLA_TRIANGLE(154),
    FOLLOW_EFFECT(155),
    CRAFT_EFFECT(157),
    CRAFT_COMPLETE(158),
    HARVESTED(159),
    SPAWN_PET(162),
    MOVE_PET(163),
    PET_CHAT(164),
    PET_NAMECHANGE(165),
    PET_UPDATE(166),
    PET_COMMAND(167),
    DRAGON_SPAWN(168),
    DRAGON_MOVE(169),
    DRAGON_REMOVE(170),
    ANDROID_SPAWN(171),
    ANDROID_MOVE(172),
    ANDROID_EMOTION(172),
    ANDROID_REMOVE(173),
    ANDROID_DEACTIVATED(174),
    MOVE_PLAYER(177),
    CLOSE_RANGE_ATTACK(179),
    RANGED_ATTACK(180),
    MAGIC_ATTACK(181),
    ENERGY_ATTACK(182),
    SKILL_EFFECT(183),
    CANCEL_SKILL_EFFECT(185),
    DAMAGE_PLAYER(186),
    FACIAL_EXPRESSION(187),
    SHOW_ITEM_EFFECT(189),
    SHOW_CHAIR(191),
    UPDATE_CHAR_LOOK(192),
    SHOW_FOREIGN_EFFECT(193),
    GIVE_FOREIGN_BUFF(194),
    CANCEL_FOREIGN_BUFF(195),
    UPDATE_PARTYMEMBER_HP(196),
    LOAD_GUILD_NAME(197),
    LOAD_GUILD_ICON(198),
    LOAD_TEAM(199),
    SHOW_HARVEST(200),
    SHOW_BOMB(201),
    CANCEL_CHAIR(202),
    SHOW_ITEM_GAIN_INCHAT(205),
    CURRENT_MAP_WARP(206),
    MESOBAG_SUCCESS(208),
    MESOBAG_FAILURE(209),
    UPDATE_QUEST_INFO(210),
    BUFF_BAR(211),
    PET_FLAG_CHANGE(212),
    PLAYER_HINT(213),
    REPAIR_WINDOW(220),
    CYGNUS_INTRO_LOCK(221),
    CYGNUS_INTRO_DISABLE_UI(222),
    SUMMON_HINT(223),
    SUMMON_HINT_MSG(224),
    ARAN_COMBO(225),
    ARAN_COMBO_RECHARGE(226),
    GAME_POLL_REPLY(227),
    FOLLOW_MOVE(235),
    FOLLOW_MSG(236),
    GAME_POLL_QUESTION(238),
    CREATE_ULTIMATE(239),
    HARVEST_MESSAGE(240),
    OPEN_BAG(242),
    DRAGON_BLINK(243),
    COOLDOWN(244),
    SPAWN_SUMMON(246),
    REMOVE_SUMMON(247),
    MOVE_SUMMON(248),
    SUMMON_ATTACK(249),
    PVP_SUMMON(250),
    SUMMON_SKILL(251),
    DAMAGE_SUMMON(254),
    SPAWN_MONSTER(255),
    KILL_MONSTER(256),
    SPAWN_MONSTER_CONTROL(257),
    MOVE_MONSTER(258),
    MOVE_MONSTER_RESPONSE(259),
    APPLY_MONSTER_STATUS(261),
    CANCEL_MONSTER_STATUS(262),
    DAMAGE_MONSTER(265),
    MONSTER_BOMB(266),
    SHOW_MONSTER_HP(269),
    SHOW_MAGNET(270),
    CATCH_MONSTER(271),
    MONSTER_PROPERTIES(274),
    REMOVE_TALK_MONSTER(275),
    TALK_MONSTER(276),
    SPAWN_NPC(282),
    REMOVE_NPC(283),
    SPAWN_NPC_REQUEST_CONTROLLER(284),
    NPC_ACTION(285),
    NPC_SCRIPTABLE(290),
    SPAWN_HIRED_MERCHANT(292),
    DESTROY_HIRED_MERCHANT(293),
    UPDATE_HIRED_MERCHANT(294),
    DROP_ITEM_FROM_MAPOBJECT(295),
    REMOVE_ITEM_FROM_MAP(296),
    FAIL_SPAWN_MEESAGEBOX(297),
    SPAWN_MESSAGEBOX(298),
    DESTROY_MESSAGEBOX(299),
    SPAWN_MIST(300),
    REMOVE_MIST(301),
    SPAWN_DOOR(302),
    REMOVE_DOOR(303),
    MECH_DOOR_SPAWN(304),
    MECH_DOOR_REMOVE(305),
    REACTOR_HIT(306),
    REACTOR_SPAWN(308),
    REACTOR_DESTROY(309),
    ROLL_SNOWBALL(310),
    HIT_SNOWBALL(311),
    SNOWBALL_MESSAGE(312),
    LEFT_KNOCK_BACK(313),
    HIT_COCONUT(314),
    COCONUT_SCORE(315),
    MONSTER_CARNIVAL_START(318),
    MONSTER_CARNIVAL_OBTAINED_CP(319),
    MONSTER_CARNIVAL_PARTY_CP(320),
    MONSTER_CARNIVAL_SUMMON(321),
    MONSTER_CARNIVAL_DIED(323),
    CHAOS_HORNTAIL_SHRINE(332),
    CHAOS_ZAKUM_SHRINE(332),
    NPC_TALK(343),
    OPEN_NPC_SHOP(344),
    CONFIRM_SHOP_TRANSACTION(345),
    OPEN_STORAGE(348),
    MERCH_ITEM_MSG(349),
    MERCH_ITEM_STORE(350),
    RPS_GAME(351),
    MESSENGER(352),
    PLAYER_INTERACTION(353),
    DUEY(361),
    CS_UPDATE(363),
    CS_OPERATION(364),
    KEYMAP(368),
    PET_AUTO_HP(369),
    PET_AUTO_MP(370),
    VICIOUS_HAMMER(380);

    private int code = -2;

    private SendPacketOpcode(int code) {
        this.code = code;
    }

    public int getValue() {
        return code;
    }
}
